package com.cn.kehong.dao;

import com.cn.kehong.domain.FactoryShift;
import com.cn.kehong.domain.FactoryShiftExample;
import java.util.List;

import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface FactoryShiftMapper {
    int countByExample(FactoryShiftExample example);

    int deleteByExample(FactoryShiftExample example);

    int deleteByPrimaryKey(String id);

    int insert(FactoryShift record);

    int insertSelective(FactoryShift record);
    int batchInsertFactoryShifts(@Param("itemList") List<FactoryShift> records);

    List<FactoryShift> selectByExample(FactoryShiftExample example);

    List<FactoryShift> selectFactoryShifts(QueryForm queryForm);

    FactoryShift selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") FactoryShift record, @Param("example") FactoryShiftExample example);

    int updateByExample(@Param("record") FactoryShift record, @Param("example") FactoryShiftExample example);

    int updateByPrimaryKeySelective(FactoryShift record);

    int updateByPrimaryKey(FactoryShift record);

}